{dede:config name='pagesize' value='30' /}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="<?php echo $cfg_soft_lang; ?>">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<title>内容模型管理</title>
		<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="../static/web/css/admin.css">
		<style>
		.fa{color:#424b51}
		</style>
	</head>
	<body>
		<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
			<tr>
				<td height="26" colspan="7" background="../static/web/img/tbg.gif">
					<table width='96%' cellpadding='0' cellspacing='0' class="table table-borderless">
						<tr>
							<td width='20%'>内容模型管理</td>
							<td align='right'>
							<a href="mychannel_add.php" class="btn btn-success btn-sm" style="display:none;">增加新模型</a>
							<a href="mychannel_edit.php?dopost=exportin" class="btn btn-success btn-sm" style="display:none;">导入模型</a>
							</td>
						</tr>
					</table>
				</td>
			</tr>

			<tr align="center" bgcolor="#F8FCF1" height="26">
				<td width="5%">ID编号</td>
				<td width="15%">模型名称</td>
				<td width="15%">识别ID</td>
				<td width="20%">数据附加表</td>
				<td width="15%">使用状态</td>
				<td width="10%">模型</td>
				<td width="20%">管理</td>
			</tr>
			{dede:datalist empty='<tr>
			<td colspan="7">
			<center>暂无内容</center>
			</td>
			</tr>'}
			<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
				<td>{dede:field.id /}</td>
				<td>{dede:field.typename /}</td>
				<td>{dede:field.nid /}</td>
				<td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td>
				<td>{dede:field.isshow function="GetSta(@me,$fields['id'])" /}</td>
				<td>{dede:field.issystem function='IsSystem(@me)'/}</td>
				<td>
				<a href="mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets" style="display:none;"><i class="btn btn-sm fa fa-file-text-o" title="模板"></i></a>
				<a href="mychannel_edit.php?id={dede:field.id /}&dopost=export" style="display:none;"><i class="btn btn-sm fa fa-download" title="导出"></i></a>
				<a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
				<a href="mychannel_edit.php?id={dede:field.id/}&dopost=delete" style="display:none;"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
				</td>
			</tr>
			{/dede:datalist}
			<tr align="center" bgcolor="#f8f8f8" height="36">
			<td colspan="7">{dede:pagelist listsize='6'/}</td>
			</tr>
		</table>
</body>
</html>